.box {
  ul {
    height: 120px;
    border: 1px solid black;
    overflow: hidden;
    width: 200px;
    margin: 0 auto;
    padding: 0 10px;
    li {
      width: 100%;
      height: 30px;
      line-height: 30px;
      white-space: no-wrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}
